Optimal. Leaf size=101 \[ -\frac {a+b \sinh ^{-1}(c x)}{d x}-\frac {2 c \left (a+b \sinh ^{-1}(c x)\right ) \text {ArcTan}\left (e^{\sinh ^{-1}(c x)}\right )}{d}-\frac {b c \tanh ^{-1}\left (\sqrt {1+c^2 x^2}\right )}{d}+\frac {i b c \text {PolyLog}\left (2,-i e^{\sinh ^{-1}(c x)}\right )}{d}-\frac {i b c \text {PolyLog}\left (2,i e^{\sinh ^{-1}(c x)}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5809, 5789,
4265, 2317, 2438, 272, 65, 214} \begin {gather*} -\frac {2 c \text {ArcTan}\left (e^{\sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )}{d}-\frac {a+b \sinh ^{-1}(c x)}{d x}-\frac {b c \tanh ^{-1}\left (\sqrt {c^2 x^2+1}\right )}{d}+\frac {i b c \text {Li}_2\left (-i e^{\sinh ^{-1}(c x)}\right )}{d}-\frac {i b c \text {Li}_2\left (i e^{\sinh ^{-1}(c x)}\right )}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 214
Rule 272
Rule 2317
Rule 2438
Rule 4265
Rule 5789
Rule 5809
Rubi steps
\begin {align*} \int \frac {a+b \sinh ^{-1}(c x)}{x^2 \left (d+c^2 d x^2\right )} \, dx &=-\frac {a+b \sinh ^{-1}(c x)}{d x}-c^2 \int \frac {a+b \sinh ^{-1}(c x)}{d+c^2 d x^2} \, dx+\frac {(b c) \int \frac {1}{x \sqrt {1+c^2 x^2}} \, dx}{d}\\ &=-\frac {a+b \sinh ^{-1}(c x)}{d x}-\frac {c \text {Subst}\left (\int (a+b x) \text {sech}(x) \, dx,x,\sinh ^{-1}(c x)\right )}{d}+\frac {(b c) \text {Subst}\left (\int \frac {1}{x \sqrt {1+c^2 x}} \, dx,x,x^2\right )}{2 d}\\ &=-\frac {a+b \sinh ^{-1}(c x)}{d x}-\frac {2 c \left (a+b \sinh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{d}+\frac {b \text {Subst}\left (\int \frac {1}{-\frac {1}{c^2}+\frac {x^2}{c^2}} \, dx,x,\sqrt {1+c^2 x^2}\right )}{c d}+\frac {(i b c) \text {Subst}\left (\int \log \left (1-i e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{d}-\frac {(i b c) \text {Subst}\left (\int \log \left (1+i e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )}{d}\\ &=-\frac {a+b \sinh ^{-1}(c x)}{d x}-\frac {2 c \left (a+b \sinh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{d}-\frac {b c \tanh ^{-1}\left (\sqrt {1+c^2 x^2}\right )}{d}+\frac {(i b c) \text {Subst}\left (\int \frac {\log (1-i x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{d}-\frac {(i b c) \text {Subst}\left (\int \frac {\log (1+i x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )}{d}\\ &=-\frac {a+b \sinh ^{-1}(c x)}{d x}-\frac {2 c \left (a+b \sinh ^{-1}(c x)\right ) \tan ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )}{d}-\frac {b c \tanh ^{-1}\left (\sqrt {1+c^2 x^2}\right )}{d}+\frac {i b c \text {Li}_2\left (-i e^{\sinh ^{-1}(c x)}\right )}{d}-\frac {i b c \text {Li}_2\left (i e^{\sinh ^{-1}(c x)}\right )}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 182, normalized size = 1.80 \begin {gather*} -\frac {a+b \sinh ^{-1}(c x)+a c x \text {ArcTan}(c x)+b c x \tanh ^{-1}\left (\sqrt {1+c^2 x^2}\right )+b \sqrt {-c^2} x \sinh ^{-1}(c x) \log \left (1+\frac {c e^{\sinh ^{-1}(c x)}}{\sqrt {-c^2}}\right )-b \sqrt {-c^2} x \sinh ^{-1}(c x) \log \left (1+\frac {\sqrt {-c^2} e^{\sinh ^{-1}(c x)}}{c}\right )-b \sqrt {-c^2} x \text {PolyLog}\left (2,\frac {c e^{\sinh ^{-1}(c x)}}{\sqrt {-c^2}}\right )+b \sqrt {-c^2} x \text {PolyLog}\left (2,\frac {\sqrt {-c^2} e^{\sinh ^{-1}(c x)}}{c}\right )}{d x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.70, size = 203, normalized size = 2.01
method | result | size |
derivativedivides | \(c \left (-\frac {a \arctan \left (c x \right )}{d}-\frac {a}{d c x}-\frac {b \arcsinh \left (c x \right ) \arctan \left (c x \right )}{d}-\frac {b \arcsinh \left (c x \right )}{d c x}-\frac {b \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{d}-\frac {b \arctan \left (c x \right ) \ln \left (1+\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}+\frac {b \arctan \left (c x \right ) \ln \left (1-\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}+\frac {i b \dilog \left (1+\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}-\frac {i b \dilog \left (1-\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}\right )\) | \(203\) |
default | \(c \left (-\frac {a \arctan \left (c x \right )}{d}-\frac {a}{d c x}-\frac {b \arcsinh \left (c x \right ) \arctan \left (c x \right )}{d}-\frac {b \arcsinh \left (c x \right )}{d c x}-\frac {b \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{d}-\frac {b \arctan \left (c x \right ) \ln \left (1+\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}+\frac {b \arctan \left (c x \right ) \ln \left (1-\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}+\frac {i b \dilog \left (1+\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}-\frac {i b \dilog \left (1-\frac {i \left (i c x +1\right )}{\sqrt {c^{2} x^{2}+1}}\right )}{d}\right )\) | \(203\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {a}{c^{2} x^{4} + x^{2}}\, dx + \int \frac {b \operatorname {asinh}{\left (c x \right )}}{c^{2} x^{4} + x^{2}}\, dx}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,\mathrm {asinh}\left (c\,x\right )}{x^2\,\left (d\,c^2\,x^2+d\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________